<?php
Route::group(['prefix' => 'admin', 'namespace' => 'Admin'], function () {
    Route::group(['prefix' => 'ajax'], function () {
        Route::post('province', 'AjaxController@province')->name('ajax_province');
        Route::post('city/{fcode?}', 'AjaxController@city')->name('ajax_city');
        Route::post('area/{fcode?}', 'AjaxController@area')->name('ajax_area');

        Route::post('department', 'AjaxController@department')->name('ajax_department');
        Route::post('position/{fcode?}', 'AjaxController@position')->name('ajax_position');
    });
});
